package tryreturnfinally;

public class Test {
	public  static void  main(String[] args){   
		System.out.print(str());   
	}   
	public static int tt(){   
		int  b  = 23;   
		try{   
			System.out.println("yes");   
			return b+=88;   
		}catch(Exception e){   
			System.out.println("error :  " + e);   
		}finally{   
			if(b>25){   
				System.out.println("b>25 : " + b);   
			}   
			System.out.println("finally");   
			return 1;
		}
	}
	
	public static String str(){
		String b  = "0";   
		try{   
			System.out.println("yes");   
			return b += "1";   
		}catch(Exception e){   
			System.out.println("error :  " + e);   
			return "";
		}finally{   
			System.out.println("finally  " + b);
			b += "2";
			return b;
		}
		
	}
}
